package org.xiaov.lunasql.engine.transform;

import com.alibaba.druid.DbType;
import com.alibaba.druid.sql.visitor.SQLASTVisitor;
import org.xiaov.lunasql.engine.Register;

/**
 * <p>
 * Transform
 * </p>
 *
 * @author lzq
 * @since 2024/12/16 15:13
 */
public interface Transform extends Register {
    /**
     * 注册数据库类型
     *
     * @return 数据库类型
     */
    DbType registerType();

    /**
     * 获取语法树
     * @return 语法树
     */
    SQLASTVisitor getAtsVisitorAdapter();
}
